/*
 *	DjoltFilter.h
 *
 *	David Janes
 *	Discover Anywhere Mobile
 *	March 2010
 *
 *	Copyright 2010 Discover Anywhere Mobile
 *
 *	Purpose:
 *	This implements Django-like 'filters', e.g. {{ a|upper }}, {{ variable|split:"1" }}, etc.
 *
 *	Programmers:
 *	Here's where you want to look if you need to implement more filters
 */

#import <Foundation/Foundation.h>

@class DjoltContext;

/*
 */
@interface DjoltFilter : NSObject
{
	NSString*	filter;
	NSString*	argument;
}

@property(nonatomic,retain) NSString*	filter;
@property(nonatomic,retain) NSString*	argument;

- (id) initWithFilter:(NSString*)_filter argument:(NSString*)_argument;
- (NSString*) filter:(NSString*)_value context:(DjoltContext*)_context;
@end

